public class LeaveOffice extends Event
{
	public LeaveOffice(Time eventTime, Employee member)
	{
		super(eventTime, member);
		priority = 5;
	}

	@Override
	public void run()
	{
		Employee employee = (Employee) Thread.currentThread();
		employee.leaveOffice();
	}

	@Override
	public String toString()
	{
		return "left the office";
	}
	
}
